home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 885 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1007 b 

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Two strange C problems.
  5. Date: Tue, 09 Jan 96 20:43:28 GMT
  6. Organization: none
  7. Message-ID: <821220208snz@genesis.demon.co.uk>
  8. References: <DKuJHw.Dsu@rci.ripco.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <DKuJHw.Dsu@rci.ripco.com> mambuhl@ripco.com "Martin Ambuhl" writes:
  15.  
  16. >#define remove(y)               /* note: remove is a reserved
  17. >                                 * identifier (see stdio) */
  18.  
  19. My stdio.h happens to contain the line:
  20.  
  21. #define remove(name)     (__unlink(name))
  22.  
  23. It is a good idea to #undef standard identifiers before trying to
  24. redefine them! :-)
  25.  
  26. -- 
  27. -----------------------------------------
  28. Lawrence Kirby | fred@genesis.demon.co.uk
  29. Wilts, England | 70734.126@compuserve.com
  30. -----------------------------------------
  31.